package cn.com.yto56.coresystem.logic.msg.soa.dao;

import cn.com.yto56.coresystem.common.msg.util.db.IPage;
import cn.com.yto56.coresystem.common.msg.util.db.QueryPage;
import cn.com.yto56.coresystem.logic.msg.soa.domain.UserInfoBean;

/**
 * Created by wangrui on 2017/2/15.
 */
public interface IUserInfoDao {

    //add delete update search
    public IPage<UserInfoBean> search(UserInfoBean userInfoBean, QueryPage queryPage);

    public boolean searchForUpdate(UserInfoBean userInfoBean);

    public UserInfoBean checkAndGetValue(UserInfoBean userInfoBean);

    public int delete(UserInfoBean userInfoBean);

    public int update(UserInfoBean set, UserInfoBean where);

    public int add(UserInfoBean UserInfoBean);
}
